import { routerReducer as routing } from 'react-router-redux'
import { combineReducers } from 'redux'

import products from './products'
import user from './user'
import orders from './orders'
import carts from './carts'

const rootReducer = combineReducers({
  products,
  user,
  orders,
  carts,
  routing
})

export default rootReducer
